package com.rbs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderItem implements Serializable {
    private Integer orderItemId;
    private Book book;
    private Order order;
    private Integer count;
    private Double amount;//小计
}
